#define _CRT_SECURE_NO_WARNINGS 1
#include"func.h"
#define GENERIC_TYPE(type)\
type type##_max(type x,type y)\
{\
    return x>y?x:y;\
}

GENERIC_TYPE(int);
GENERIC_TYPE(float);

int main() {
    /*long int n = 0;;
    scanf("%ld", &n);
    long int a = cgnum(n);
    printf("%ld", a);
    return 0;*/
    /*int a, b = 1;//只赋值了b
    printf("%d %d", a, b);*/
    /*int a = 12;
    print(a);*/

    int max1=int_max(1, 2);
    float max2 = float_max(2.1, 2.3);
    printf("%d %f", max1, max2);
    return 0;
}